package com.travelgroup.domain.dto;
import com.travelgroup.enums.RouteDifficulty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RouteDTO {

    @Schema(description = "路线标题")
    private String name;

    @Schema(description = "路线解释")
    private String description;

    @Schema(description = "目的地")
    private String images;

    @Schema(description = "建议行程天数")
    private Integer days;

    @Schema(description = "行程难度")
    private RouteDifficulty difficulty;

    @Schema(description = "标签（逗号分隔）")
    private String tags;

    @Schema(description = "创建路线用户")
    private Long createdBy;

    @Schema(description = "是否公开")
    private Boolean isPublic;

    @Schema(description = "路线所经地点")
    private List<RouteLocationDTO> routeLocations;
}
